<!DOCTYPE html>
<html lang="zh-cn">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Title</title>
    <script src="./jquery/jquery.js"></script>
    <script src="./js/07.js"></script>
</head>
<body>
    <input type="button" value="#btn1" id="btn1">
    <br><br>
    <input type="button" value="为#btn1动态绑定事件" onclick="bindBtnEvent1()">
    <input type="button" value="将#btn1动态绑定事件删除" onclick="removeBtnEvent1()">
    <hr>
    <input type="button" value="#btn2" id="btn2">
    <br><br>
    <input type="button" value="为#btn2绑定一个一次性事件" onclick="bindOnceEvent()">
    <hr>
    <div id="divBox" style="width: 200px;height: 200px;background-color: #dedede"></div>
    <hr>
    <h4>jquery的事件绑定</h4>
    <input type="button" value="#btn3" id="btn3">
    <br><br>
    <input type="button" value="通过jquery为#btn3绑定事件" onclick="bindBtnEvent2()">
    <input type="button" value="通过jquery删除#btn3绑定的事件" onclick="removeBtnEvent2()">
    <hr>
    <input type="button" value="#btn4" id="btn4">
    <br><br>
    <input type="button" value="通过jquery为#btn4绑定一次性事件" onclick="bindOnceEvent2()">
    <input type="button" value="通过jquery触发#btn4的一次性事件" onclick="emitEvent2()">
    <br><br>
    <input type="button" value="#btn5" id="btn5">
    <br><br>
    <input type="button" value="通过jquery为#btn5绑定事件" onclick="bindOnceEvent3()">
    <br><br>
    <input type="button" value="#btn6-jquery的组合事件hover" id="btn6">
    <br><br>
    <input type="button" value="通过jquery为#btn6绑定组合事件hover" onclick="bindHover()">
    <hr>
    <h4>jquery的特殊参数</h4>
    <input type="button" value="测试jquery参数" id="btn7">
    <hr>
    <ul>
        <li>item1</li>
        <li>item2</li>
        <li>item3</li>
    </ul>
</body>
</html>